package edu.sctu.fengleilin.month05.day150510;

/**
 * Created by user09 on 2015/5/10.
 */
public class TextTwo {
    public int sum = 0;

    public TextFour getNumber(TextThree textThree){

        TextFour textFour = new TextFour();
        for(int i = 0;i < textThree.number;i++){
            sum += i;
        }
        textFour.sum = sum;
        return textFour;
    }

}
